package com.ztgf.sys.models.bo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;

/**
 * 系统用户登录日志表SaveBO
 *
 * @author YUE
 * @Date 2020-05-27 14:09:13
 */
@Data
public class SysLoginLogSaveBO implements Serializable {
    @ApiModelProperty(value = "主键")
    private Long id;
    @ApiModelProperty(value = "乐观锁")
    private Integer revision;
    @ApiModelProperty(value = "创建人")
    private Long createUserId;
    @ApiModelProperty(value = "更新人")
    private Long updateUserId;
    @ApiModelProperty(value = "用户id")
    private Long userId;
    @ApiModelProperty(value = "用户名称")
    private String userName;
    @ApiModelProperty(value = "用户账户")
    private String userAccount;
    @ApiModelProperty(value = "类型 0登录，1登出")
    private Integer type;
    @ApiModelProperty(value = "返回值 0成功，其他值失败 默认为0")
    private Integer resultCode = 0;
    @ApiModelProperty(value = "返回值说明")
    private String resultMsg;
    @ApiModelProperty(value = "ip地址")
    private String ip;
    @ApiModelProperty(value = "ip地区")
    private String ipAddr;
}